import Vue from "vue";
import VueRouter from "vue-router";
import User from "../views/User.vue";
import NotFound from "@/views/NotFound";
import Home from "@/views/Home";
import Student from "@/views/Student";
Vue.use(VueRouter)
const routes = [
    // {
    //     path: "/",
    //     redirect: "/user"
    // },
    {
        path: "/student",
        component:Student
    },
    {
        path: "*",
        component:NotFound
    },
    {
        path: "/",
        component: Home
    }
];
const router = new VueRouter({
    routes: routes
});
export default router;